package com.yunjing.elasticjob.service;


import com.dangdang.ddframe.job.api.simple.SimpleJob;
import com.yunjing.elasticjob.entity.JobConfig;
import org.quartz.Job;

/**
 * @author zhiqi.shao
 * @Date 2018/6/14 9:57
 */
public interface ElasticJobService {


    boolean addJob(JobConfig jobConfig, Class<? extends SimpleJob> jobClass, int shardingTotalCount);
}
